package com.jk.service;

import com.jk.po.ClentPO;
import com.jk.vo.ClentVo;
import com.jk.vo.ResultInfo;

/***
 * @ClassName: ClientLoginService
 * @Description:TODO
 * @Auther: TaiBai
 * @Date: 2021/6/30 9:30
 * @version : V1.0
 */

public interface ClientLoginService {
    /*
    * @Author  TaiBai
    * @Description //TODO 查询数据库客户信息
    * @Date 15:03 2021/6/30
    * @method  queryClientByName
    * @Param [cusnumber]
    * @return com.jk.vo.ClentVo
    **/
    ClentPO queryClientByName(Integer cusnumber);
    /*
    * @Author  TaiBai
    * @Description //TODO 注册用户信息至数据库
    * @Date 10:02 2021/7/1
    * @method  saveClient
    * @Param [clentPO]
    * @return com.jk.vo.ResultInfo
    **/
    void saveClient(ClentPO clentPO);
    /*
    * @Author  TaiBai
    * @Description //TODO 查询数据库手机号
    * @Date 20:42 2021/7/5
    * @method  queryClientByPhone
    * @Param [cusphone]
    * @return com.jk.po.ClentPO
    **/
    ClentPO queryClientByPhone(String cusphone);
}
